package com.lz.code.mongodb.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author: LiuZhi
 * @date: 2022/4/8 21:07
 * @description: 顾问
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("consultant")
public class Consultant {

    @Id
    private String id;
    /** 邮箱 */
    private String email;
    /** 姓名 */
    private String name;
    /** 昵称 */
    private String nickname;
    /** 企业微信id */
    private String workWechatId;
    /** 服务会员人数 */
    private Integer serviceMemberCount;
    /** 最大服务会员人数 */
    private Integer maxServiceMemberCount;
    /** 性别 */
    private String gender;

}
